<?php

/**
 * Created by PhpStorm.
 * User: wen
 * Date: 2017/6/21
 * Time: 9:43
 */
namespace V1;
class OrderDetail extends \ResourceClass
{
    public $isActive = true;
    public $remark = '订单详情接口';

    public function get(array $req, array $post, &$result)
    {
        if (!isset($req['id'])) {
            return 'require id';
        }

        if (!isset($req['uid'])) {
            return 'require UID';
        }
        /*通过订单ID获取订单详情*/
        $order_biz = new \Biz\Order();
        $order_res = $order_biz->getOrderIdByDateil($req['id']);
        $result = $order_res;
    }
}